﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GBMS.MODEL
{
    public class ProjectKPIInfo
    {
        private int seq;
        private string name;
        private string descr;
        private double weight;
        private double scr1;
        private double scr2;
        private double scr3;
        private double scr4;
        private double scr5;
        private int targetType;
        private Nullable<double> target1;
        private Nullable<double> target2;
        private Nullable<double> target3;
        private Nullable<double> target4;
        private string unit;
        private KPITypeInfo kpiType;
        private ProjectInfo pj;
        private UserRecordInfo user;

        public ProjectKPIInfo() { }

        public ProjectKPIInfo(int seq, string name, string descr, double weight, double scr1, double scr2, double scr3, double scr4, double scr5, int targetType, Nullable<double> target1, Nullable<double> target2, Nullable<double> target3, Nullable<double> target4, string unit, KPITypeInfo kpiType, ProjectInfo pj, UserRecordInfo user)
        {
            this.seq = seq;
            this.name = name;
            this.descr = descr;
            this.weight = weight;
            this.scr1 = scr1;
            this.scr2 = scr2;
            this.scr3 = scr3;
            this.scr4 = scr4;
            this.scr5 = scr5;
            this.targetType = targetType;
            this.target1 = target1;
            this.target2 = target2;
            this.target3 = target3;
            this.target4 = target4;
            this.unit = unit;
            this.kpiType = kpiType;
            this.pj = pj;
            this.user = user;
        }

        public int Sequence
        {
            get
            {
                return seq;
            }
            set
            {
                seq = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public string Description
        {
            get
            {
                return descr;
            }
            set
            {
                descr = value;
            }
        }

        public double Weight
        {
            get
            {
                return weight;
            }
            set
            {
                weight = value;
            }
        }

        public double Score1
        {
            get
            {
                return scr1;
            }
            set
            {
                scr1 = value;
            }
        }


        public double Score2
        {
            get
            {
                return scr2;
            }
            set
            {
                scr2 = value;
            }
        }

        public double Score3
        {
            get
            {
                return scr3;
            }
            set
            {
                scr3 = value;
            }
        }

        public double Score4
        {
            get
            {
                return scr4;
            }
            set
            {
                scr4 = value;
            }
        }

        public double Score5
        {
            get
            {
                return scr5;
            }
            set
            {
                scr5 = value;
            }
        }

        public int TargetType
        {
            get
            {
                return targetType;
            }
            set
            {
                targetType = value;
            }
        }

        public Nullable<double> Target_Quarter1
        {
            get
            {
                return target1;
            }
            set
            {
                target1 = value;
            }
        }

        public Nullable<double> Target_Quarter2
        {
            get
            {
                return target2;
            }
            set
            {
                target2 = value;
            }
        }

        public Nullable<double> Target_Quarter3
        {
            get
            {
                return target3;
            }
            set
            {
                target3 = value;
            }
        }

        public Nullable<double> Target_Quarter4
        {
            get
            {
                return target4;
            }
            set
            {
                target4 = value;
            }
        }

        public string Unit
        {
            get
            {
                return unit;
            }
            set
            {
                unit = value;
            }
        }

        public KPITypeInfo KPI_Type
        {
            get
            {
                return kpiType;
            }
            set
            {
                kpiType = value;
            }
        }

        public ProjectInfo Project
        {
            get
            {
                return pj;
            }
            set
            {
                pj = value;
            }
        }

        public UserRecordInfo User
        {
            get
            {
                return user;
            }
            set
            {
                user = value;
            }
        }
    }
}
